package cn.rongdao.jrkabao.bean.loan;

import java.util.List;

/**
 * Created by Wang on 17/9/19.
 */

public class CreditCardLoansDateBean {

    /**
     * offset : 500
     * default_money : 1000
     * today_leave : 2000
     * petty_loan_exits : 0
     * stages : [{"min_money":500,"max_money":1000,"period":[{"val":"1","desc":"7天"},{"val":"2","desc":"14天"},{"val":"4","desc":"28天"}]},{"min_money":1000,"max_money":1500,"period":[{"val":"1","desc":"7天"},{"val":"2","desc":"14天"},{"val":"4","desc":"28天"}]},{"min_money":1500,"max_money":2000,"period":[{"val":"2","desc":"14天"},{"val":"4","desc":"28天"},{"val":"1","desc":"7天"}]},{"min_money":2000,"max_money":2500,"period":[{"val":"2","desc":"14天"},{"val":"4","desc":"28天"},{"val":"1","desc":"7天"}]},{"min_money":2500,"max_money":3001,"period":[{"val":"2","desc":"14天"},{"val":"4","desc":"28天"},{"val":"1","desc":"7天"}]}]
     * lowest : 500
     * high : 3001
     */
    private int offset;
    private int default_money;
    private int today_leave;
    private String petty_loan_exits;
    private int lowest;
    private int high;
    private int pointMeUp =-1;
    private int popupHint = -1;
    private String cate_id;
    private String product_id;
    private int code;
    private String exclamation;
    private String exclamation_url;
    private PettyLoanBean petty_loan;
    private List<StagesBean> stages;


    public String getExclamation_url() {
        return exclamation_url;
    }

    public void setExclamation_url(String exclamation_url) {
        this.exclamation_url = exclamation_url;
    }

    public String getExclamation() {
        return exclamation;
    }

    public void setExclamation(String exclamation) {
        this.exclamation = exclamation;
    }

    public String getCate_id() {
        return cate_id;
    }

    public void setCate_id(String cate_id) {
        this.cate_id = cate_id;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


    public int getPopupHint() {
        return popupHint;
    }

    public void setPopupHint(int popupHint) {
        this.popupHint = popupHint;
    }

    public int getPointMeUp() {
        return pointMeUp;
    }

    public void setPointMeUp(int pointMeUp) {
        this.pointMeUp = pointMeUp;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getDefault_money() {
        return default_money;
    }

    public void setDefault_money(int default_money) {
        this.default_money = default_money;
    }

    public int getToday_leave() {
        return today_leave;
    }

    public void setToday_leave(int today_leave) {
        this.today_leave = today_leave;
    }

    public String getPetty_loan_exits() {
        return petty_loan_exits;
    }

    public void setPetty_loan_exits(String petty_loan_exits) {
        this.petty_loan_exits = petty_loan_exits;
    }

    public int getLowest() {
        return lowest;
    }

    public void setLowest(int lowest) {
        this.lowest = lowest;
    }

    public int getHigh() {
        return high;
    }

    public void setHigh(int high) {
        this.high = high;
    }

    public List<StagesBean> getStages() {
        return stages;
    }

    public void setStages(List<StagesBean> stages) {
        this.stages = stages;
    }

    public PettyLoanBean getPetty_loan() {
        return petty_loan;
    }

    public void setPetty_loan(PettyLoanBean petty_loan) {
        this.petty_loan = petty_loan;
    }

    public static class PettyLoanBean {
        /**
         * amount : 1000
         * period : {"val":2,"desc":"14天"}
         */

        private String amount;
        private PeriodBean period;

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public PeriodBean getPeriod() {
            return period;
        }

        public void setPeriod(PeriodBean period) {
            this.period = period;
        }



        public static class PeriodBean {
            /**
             * val : 2
             * desc : 14天
             */

            private String val;
            private String desc;

            public String getVal() {
                return val;
            }

            public void setVal(String val) {
                this.val = val;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }
        }
    }

    public static class StagesBean {
        /**
         * min_money : 500
         * max_money : 1000
         * period : [{"val":"1","desc":"7天"},{"val":"2","desc":"14天"},{"val":"4","desc":"28天"}]
         */

        private int min_money;
        private int max_money;
        private List<PeriodBean> period;

        public int getMin_money() {
            return min_money;
        }

        public void setMin_money(int min_money) {
            this.min_money = min_money;
        }

        public int getMax_money() {
            return max_money;
        }

        public void setMax_money(int max_money) {
            this.max_money = max_money;
        }

        public List<PeriodBean> getPeriod() {
            return period;
        }

        public void setPeriod(List<PeriodBean> period) {
            this.period = period;
        }

        public static class PeriodBean {
            /**
             * val : 1
             * desc : 7天
             */

            private String val;
            private String desc;
            private boolean isSelected;

            public boolean isSelected() {
                return isSelected;
            }

            public void setSelected(boolean selected) {
                isSelected = selected;
            }

            public String getVal() {
                return val;
            }

            public void setVal(String val) {
                this.val = val;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }
        }

    }
}
